package com.tl.app.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.tl.common.annotation.Excel;
import com.tl.common.core.domain.BaseEntity;

/**
 * 店员评价对象 app_clerk_comment
 * 
 * @author suhp
 * @date 2024-07-27
 */
public class AppClerkComment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;
    
    private String userAvatar;
    
    private String userNickName;

    /** 店员id */
    @Excel(name = "店员id")
    private Long clerkId;

    /** 订单id */
    @Excel(name = "订单id")
    private Long orderId;

    /** 评价内容 */
    @Excel(name = "评价内容")
    private String content;

    /** 评价图片地址 */
    @Excel(name = "评价图片地址")
    private String imgPath;

    /** 状态(0:正常,1:关闭) */
    @Excel(name = "状态(0:正常,1:关闭)")
    private String status;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Long orderNum;
    
    /** 星级 */
    @Excel(name = "星级")
    private Long star;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setClerkId(Long clerkId) 
    {
        this.clerkId = clerkId;
    }

    public Long getClerkId() 
    {
        return clerkId;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setImgPath(String imgPath) 
    {
        this.imgPath = imgPath;
    }

    public String getImgPath() 
    {
        return imgPath;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }
    
    public String getUserAvatar() {
		return userAvatar;
	}

	public void setUserAvatar(String userAvatar) {
		this.userAvatar = userAvatar;
	}

	public String getUserNickName() {
		return userNickName;
	}

	public void setUserNickName(String userNickName) {
		this.userNickName = userNickName;
	}
	
	public Long getStar() {
		return star;
	}

	public void setStar(Long star) {
		this.star = star;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("clerkId", getClerkId())
            .append("orderId", getOrderId())
            .append("content", getContent())
            .append("imgPath", getImgPath())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("orderNum", getOrderNum())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
